package learn_concurrent._12;

import java.time.format.DateTimeFormatter;
import java.time.temporal.TemporalAccessor;

public class T3 {
	public static void main(String[] args) {
		DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");

		for (int i = 0; i < 10; i++) {
			new Thread(() -> {
				TemporalAccessor date = formatter.parse("1951-04-21");
				System.out.println(date);
			}).start();
		}
	}
}
